package cn.kgc.watch.service;

import cn.kgc.watch.entity.Order;
import cn.kgc.watch.entity.vo.OrderPageInfoVo;
import cn.kgc.watch.entity.vo.PageInfoVo;
import com.github.pagehelper.PageInfo;


import java.util.List;

public interface OrderService{


    List<Order> findOrderByUserId(Integer userId);

    Long orderGo(Order order);


    List<Order> findUserOrder(Integer id);

    void modifyOrderState(Order order);

    void modifyOrderPay(Order order);

    void modifyOrderPayState(String traceNo);

    PageInfo<Order> findAllOrder(OrderPageInfoVo orderPageInfoVo);

    Integer modifyOrderStateAdmin(int parseInt);

    Integer modifyOrderPayStateAdmin(int parseInt);

    List<Integer> findNum();
}
